/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.edu.entity.teacher;

import com.idenger.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 教师Entity
 * @author chenlin
 * @version 2017-11-28
 */
public class EduTeacherInfo extends DataEntity<EduTeacherInfo> {
	
	private static final long serialVersionUID = 1L;
	private String image;		// 教师头像
	private String name;		// 教师姓名
	private String phone;		// 教师手机号
	private String jobTitle;		// 教师头衔(主讲、)
	private String details;		// 详情
	private String email;		// 邮箱
	
	public EduTeacherInfo() {
		super();
	}

	public EduTeacherInfo(String id){
		super(id);
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}
	
	@Length(min=0, max=64, message="教师姓名长度必须介于 0 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=11, message="教师手机号长度必须介于 0 和 11 之间")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Length(min=0, max=64, message="教师头衔(主讲、)长度必须介于 0 和 64 之间")
	public String getJobTitle() {
		return jobTitle;
	}

	public void setJobTitle(String jobTitle) {
		this.jobTitle = jobTitle;
	}
	
	public String getDetails() {
		return details;
	}

	public void setDetails(String details) {
		this.details = details;
	}
	
	@Length(min=0, max=64, message="邮箱长度必须介于 0 和 64 之间")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
}